package com.community.pojo;

import java.util.Date;

public class AnswerOperation {
    private Integer id;

    private Integer aid;

    private Integer type;

    private Date times;

    private String ip;

    private String username;

    private Integer force;

    private Date createTime;

    private Date updateTime;

    public AnswerOperation(Integer id, Integer aid, Integer type, Date times, String ip, String username, Integer force, Date createTime, Date updateTime) {
        this.id = id;
        this.aid = aid;
        this.type = type;
        this.times = times;
        this.ip = ip;
        this.username = username;
        this.force = force;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public AnswerOperation() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Integer getForce() {
        return force;
    }

    public void setForce(Integer force) {
        this.force = force;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}